<style>
	body{
		background: #f5f5f5;
	}
</style>
<div class="sectionY">
	<a href="javascript:history.back()">
		<img src="__PUBLIC__/home/images/a4.png" class="a1" alt="">
	</a>
	<p class="p1">领奖信息</p>
	<!--	<a href="" class="a3">删除</a>-->
</div>
<div class="kong1"></div>
<div class="neng_section2">
	<div class="neng_section2_1 neng_section2_1x">
		<form action="">
			<div class="f1 clearfix">
				<p class="p1">收货人</p>
				<input type="text" id="name" class="input1 input_plc" placeholder="请输入收货人姓名" autocomplete="off">
			</div>
			<div class="f1 clearfix">
				<p class="p1">手机号码</p>
				<input type="tel" maxlength="11" id="mobile" class="input1 input_plc" placeholder="请输入手机号码" autocomplete="off">
			</div>
			<div class="f1 clearfix">
				<p class="p1">详细地址</p>
				<input type="text" id="address" placeholder="地址" class="input1 input_plc" autocomplete="off">
			</div>
			<div class="sub">
				<button type="button" id="subBtn">确定</button>
			</div>
		</form>
	</div>
</div>
<script type="text/javascript" >
	$(function(){
		$("#subBtn").click(function () {
            var name = $("#name").val();
            var mobile = $("#mobile").val();
            var address = $("#address").val();
            if(name==''){
                modal.msg('请输入收货人称呼');
                return false;
            }
            if(mobile==''){
                modal.msg('请输入手机号');
                return false;
            }
            if(address==''){
                modal.msg('请输入收货地址');
                return false;
            }
            modal.ajax('',{name:name,mobile:mobile,address:address},function (res) {
				modal.msg(res.result_info);
				if(res.result_code==0){
				    setTimeout(function () {
                        window.history.back();
                    },1000);
				}
            });
        });
	})
</script>